package com.allinpay.merchantweb.controller;


import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;


import com.allinpay.merchantweb.model.UserLoginInfo;
import com.allinpay.merchantweb.service.CommEnterpriseListService;
import com.allinpay.merchantweb.service.ICommPrivilegeService;
import com.allinpay.merchantweb.service.IEnterpriseInfoService;
import com.allinpay.merchantweb.service.impl.RestRequestService;
/**
 * 内部发放
 * @author wencb
 *
 */
@Controller
@RequestMapping("/interior")
public class InteriorPushController {
	
	private static final Logger logger = LoggerFactory.getLogger(InteriorPushController.class);
	@Autowired
	RestRequestService restRequestService;
	@Autowired
	CommEnterpriseListService commEnterpriseListService;
	@Autowired
	ICommPrivilegeService commPrivilegeService;
	@Autowired
	IEnterpriseInfoService enterpriseInfoService;
	
	/**
     * 功能：内部发放
     *
     */
    @RequestMapping(value = "/push")
    public String interiorMain(@ModelAttribute UserLoginInfo userLoginInfo, Model model, HttpServletRequest request) {

    	return "setting/interiorPush/interiorMain";
    }   
    
    /**
     * 功能：内部发放明细-load
     *
     */
    @RequestMapping(value = "/interiorDetail")
    public String interiorDetail(HttpServletRequest request) {
    	return "setting/interiorPush/interiorDetail";
    }  
    
    /**
     * 功能：内部发放上传-load
     *
     */
    @RequestMapping(value = "/interiorUpload")
    public String interiorUpload(HttpServletRequest request) {
    	return "setting/interiorPush/interiorUpload";
    }
    
}
